package com.example.treinamentotiroaoalvo;

import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;

public class BackgroundBehaviour 
{
	public Bitmap bg;
	Paint paint;
	
	public BackgroundBehaviour()
	{
		paint = new Paint();
		paint.setColor(Color.BLACK);
		
		bg = BitmapStorage.getInstance().getBackgroundImage();
	}
	
	public void Update()
	{
		
	}
	
	public void draw(Canvas canvas)
	{
		bg = Bitmap.createScaledBitmap(bg, GameLoop.canvasWidth, GameLoop.canvasHeight, false);
		canvas.drawBitmap(bg, 0, 0, paint);
	}
}
